<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>通讯协议 json | 汪汪燃运</title>
    <meta name="generator" content="VuePress 1.8.2">
    <link rel="icon" href="/wangwang-gas-doc/logo.png">
    <link rel="manifest" href="/wangwang-gas-doc/manifest.json">
    <link rel="apple-touch-icon" href="/wangwang-gas-doc/icons/apple-touch-icon-152x152.png">
    <link rel="mask-icon" href="/wangwang-gas-doc/icons/safari-pinned-tab.svg" color="#3eaf7c">
    <meta name="description" content="可燃气体探测器接入开放平台">
    <meta name="theme-color" content="#3eaf7c">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="msapplication-TileImage" content="/icons/msapplication-icon-144x144.png">
    <meta name="msapplication-TileColor" content="#000000">
    
    <link rel="preload" href="/wangwang-gas-doc/assets/css/0.styles.f3d6badc.css" as="style"><link rel="preload" href="/wangwang-gas-doc/assets/js/app.144ee18f.js" as="script"><link rel="preload" href="/wangwang-gas-doc/assets/js/5.9fbe3708.js" as="script"><link rel="preload" href="/wangwang-gas-doc/assets/js/4.7b614c82.js" as="script"><link rel="preload" href="/wangwang-gas-doc/assets/js/25.d8607a32.js" as="script"><link rel="preload" href="/wangwang-gas-doc/assets/js/9.00085909.js" as="script"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/10.83e0768d.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/11.94f049cb.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/12.3a738b2e.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/13.31892efe.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/14.5ed330cf.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/15.03a0ff81.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/16.c72103bd.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/17.25b9804c.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/18.a0d3e0cb.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/19.58aef1a7.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/20.f6cf536c.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/21.470c9988.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/22.ff94d41b.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/23.3cc6107a.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/24.e6a6505a.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/26.b4b4b3f7.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/27.15f4dcaf.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/28.5830a7b8.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/29.defc9928.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/6.d50bb920.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/7.67aea8c9.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/8.6d68bc6f.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/vendors~flowchart.7b35c902.js"><link rel="prefetch" href="/wangwang-gas-doc/assets/js/vendors~notification.8f3399e0.js">
    <link rel="stylesheet" href="/wangwang-gas-doc/assets/css/0.styles.f3d6badc.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/wangwang-gas-doc/" class="home-link router-link-active"><img src="/wangwang-gas-doc/dog4.gif" alt="汪汪燃运" class="logo"> <span class="site-name can-hide">汪汪燃运</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/guide/" class="nav-link">
  接入指南
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="报警器通讯协议" class="dropdown-title"><span class="title">报警器通讯协议</span> <span class="arrow down"></span></button> <button type="button" aria-label="报警器通讯协议" class="mobile-dropdown-title"><span class="title">报警器通讯协议</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/wangwang-gas-doc/wangwang/protocol/v1/" class="nav-link">
  v1
</a></li><li class="dropdown-item"><!----> <a href="/wangwang-gas-doc/wangwang/protocol/v2/" class="nav-link">
  v2
</a></li><li class="dropdown-item"><!----> <a href="/wangwang-gas-doc/wangwang/protocol/v3/" class="nav-link">
  v3
</a></li><li class="dropdown-item"><!----> <a href="/wangwang-gas-doc/wangwang/protocol/json/" aria-current="page" class="nav-link router-link-exact-active router-link-active">
  json
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="开放API" class="dropdown-title"><span class="title">开放API</span> <span class="arrow down"></span></button> <button type="button" aria-label="开放API" class="mobile-dropdown-title"><span class="title">开放API</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><h4>
          燃气报警器
        </h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/wangwang-gas-doc/wangwang/developing/" class="nav-link">
  监控/报警推送
</a></li></ul></li></ul></div></div><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/developing/" class="nav-link">
  常见问题
</a></div><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/developing/" class="nav-link">
  下载专区
</a></div><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/appendix/" class="nav-link">
  附录
</a></div><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/changelog/" class="nav-link">
  更新日志
</a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/guide/" class="nav-link">
  接入指南
</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="报警器通讯协议" class="dropdown-title"><span class="title">报警器通讯协议</span> <span class="arrow down"></span></button> <button type="button" aria-label="报警器通讯协议" class="mobile-dropdown-title"><span class="title">报警器通讯协议</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/wangwang-gas-doc/wangwang/protocol/v1/" class="nav-link">
  v1
</a></li><li class="dropdown-item"><!----> <a href="/wangwang-gas-doc/wangwang/protocol/v2/" class="nav-link">
  v2
</a></li><li class="dropdown-item"><!----> <a href="/wangwang-gas-doc/wangwang/protocol/v3/" class="nav-link">
  v3
</a></li><li class="dropdown-item"><!----> <a href="/wangwang-gas-doc/wangwang/protocol/json/" aria-current="page" class="nav-link router-link-exact-active router-link-active">
  json
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="开放API" class="dropdown-title"><span class="title">开放API</span> <span class="arrow down"></span></button> <button type="button" aria-label="开放API" class="mobile-dropdown-title"><span class="title">开放API</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><h4>
          燃气报警器
        </h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/wangwang-gas-doc/wangwang/developing/" class="nav-link">
  监控/报警推送
</a></li></ul></li></ul></div></div><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/developing/" class="nav-link">
  常见问题
</a></div><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/developing/" class="nav-link">
  下载专区
</a></div><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/appendix/" class="nav-link">
  附录
</a></div><div class="nav-item"><a href="/wangwang-gas-doc/wangwang/changelog/" class="nav-link">
  更新日志
</a></div> <!----></nav>  <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>通讯协议 json</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/wangwang-gas-doc/wangwang/protocol/json/#_1-数据上报" class="sidebar-link">1. 数据上报</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/wangwang-gas-doc/wangwang/protocol/json/#_1-1-报警器监控数据上报" class="sidebar-link">1.1. 报警器监控数据上报</a></li></ul></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="通讯协议-json"><a href="#通讯协议-json" class="header-anchor">#</a> 通讯协议 json</h1> <p></p><div class="table-of-contents"><ul><li><a href="#_1-数据上报">1. 数据上报</a><ul><li><a href="#_1-1-报警器监控数据上报">1.1. 报警器监控数据上报</a></li></ul></li></ul></div> <p></p> <h2 id="_1-数据上报"><a href="#_1-数据上报" class="header-anchor">#</a> 1. 数据上报</h2> <h3 id="_1-1-报警器监控数据上报"><a href="#_1-1-报警器监控数据上报" class="header-anchor">#</a> 1.1. 报警器监控数据上报</h3> <h4 id="_1-1-1-请求格式"><a href="#_1-1-1-请求格式" class="header-anchor">#</a> 1.1.1. 请求格式</h4> <table><thead><tr><th>URL</th> <th>ip:port/3thParty/report</th></tr></thead> <tbody><tr><td>支持格式</td> <td>Json</td></tr> <tr><td>HTTP请求方式</td> <td>post</td></tr> <tr><td>是否登录验证</td> <td>否</td></tr> <tr><td>请求数限制</td> <td></td></tr> <tr><td>具体说明</td> <td></td></tr></tbody></table> <h4 id="_1-1-2-参数说明"><a href="#_1-1-2-参数说明" class="header-anchor">#</a> 1.1.2. 参数说明</h4> <div class="language-json line-numbers-mode"><pre class="language-json"><code><span class="token punctuation">{</span>
    <span class="token property">&quot;dataType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;deviceData&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 固定值&quot;deviceData&quot;</span>
    <span class="token property">&quot;type&quot;</span><span class="token operator">:</span> <span class="token string">&quot;NBiot&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 固定值&quot;NBiot&quot;</span>
    <span class="token property">&quot;report&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span>
        <span class="token property">&quot;batteryVoltage&quot;</span><span class="token operator">:</span> <span class="token number">0.0</span><span class="token punctuation">,</span> <span class="token comment">// 电池电压</span>
        <span class="token property">&quot;cmdResult&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">// 默认true</span>
        <span class="token property">&quot;controllerInfo&quot;</span><span class="token operator">:</span> <span class="token punctuation">{</span> <span class="token comment">// 控制器信息</span>
            <span class="token property">&quot;charge&quot;</span><span class="token operator">:</span> <span class="token string">&quot;&quot;</span><span class="token punctuation">,</span> <span class="token comment">// charge</span>
            <span class="token property">&quot;mainPowerState&quot;</span><span class="token operator">:</span> <span class="token string">&quot;主电正常&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 主电状态</span>
            <span class="token property">&quot;onLineStatus&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">// 在线状态</span>
            <span class="token property">&quot;powerWorkState&quot;</span><span class="token operator">:</span> <span class="token string">&quot;主电工作中&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 电池工作状态</span>
            <span class="token property">&quot;sparePowerState&quot;</span><span class="token operator">:</span> <span class="token string">&quot;备电正常&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 备电状态</span>
            <span class="token property">&quot;totalFaultState&quot;</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 总故障：1（有）0（没有）</span>
            <span class="token property">&quot;totalWarnState&quot;</span><span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">//总报警：1（有）0（没有）</span>
            <span class="token property">&quot;trunkState&quot;</span><span class="token operator">:</span> <span class="token string">&quot;正常&quot;</span> <span class="token comment">// 总线状态</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token property">&quot;dataTime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2020-07-21 00:00:02&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 系统时间(数据接收解析时间)</span>
        <span class="token property">&quot;dataType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;deviceData&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 默认值</span>
        <span class="token property">&quot;detectorInfos&quot;</span><span class="token operator">:</span> <span class="token punctuation">[</span> <span class="token comment">// 探测器信息,集合</span>
            <span class="token punctuation">{</span>
                <span class="token property">&quot;addressIndex&quot;</span><span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">// 探测器地址位</span>
                <span class="token property">&quot;coefficient&quot;</span><span class="token operator">:</span> <span class="token string">&quot;*1&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 系数</span>
                <span class="token property">&quot;concentration&quot;</span><span class="token operator">:</span> <span class="token number">4.0</span><span class="token punctuation">,</span> <span class="token comment">// 浓度值</span>
                <span class="token property">&quot;isLegitimate&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">// 是否合法</span>
                <span class="token property">&quot;lifeStatus&quot;</span><span class="token operator">:</span> <span class="token string">&quot;正常&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 寿命状态</span>
                <span class="token property">&quot;onLineStatus&quot;</span><span class="token operator">:</span> <span class="token string">&quot;正常&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 在线状态</span>
                <span class="token property">&quot;unit&quot;</span><span class="token operator">:</span> <span class="token string">&quot;%LEL&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 单位</span>
                <span class="token property">&quot;warnLevel&quot;</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token comment">// 报警级别  0:无 1:1级 2:二级  以此类推</span>
                <span class="token property">&quot;warnStatus&quot;</span><span class="token operator">:</span> <span class="token string">&quot;正常&quot;</span> <span class="token comment">// 报警状态</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">]</span><span class="token punctuation">,</span>
        <span class="token property">&quot;detectorNum&quot;</span><span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">// 探测器数量</span>
        <span class="token property">&quot;detectorTotal&quot;</span><span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">// 探测器总数</span>
        <span class="token property">&quot;devType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;5&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 设备类型</span>
        <span class="token property">&quot;deviceType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;NBiot&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 设备类型</span>
        <span class="token property">&quot;eventTime&quot;</span><span class="token operator">:</span> <span class="token string">&quot;2020-07-21 00:00:01&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 数据上报时间(电信平台接收到数据的时间)</span>
        <span class="token property">&quot;eventType&quot;</span><span class="token operator">:</span> <span class="token string">&quot;透传数据&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 事件类型</span>
        <span class="token property">&quot;ids&quot;</span><span class="token operator">:</span> <span class="token string">&quot;861050040411756&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 设备id,同IMEI，同“设备检测数据上报”的deviceid</span>
        <span class="token property">&quot;isOnline&quot;</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span> <span class="token comment">// 是否在线 true,false</span>
        <span class="token property">&quot;key&quot;</span><span class="token operator">:</span> <span class="token string">&quot;3thParty-Http&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 第三方默认值3thParty-Http</span>
        <span class="token property">&quot;loopIndex&quot;</span><span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">// 回路号</span>
        <span class="token property">&quot;mlm&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0xff&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 命令码,第三方默认值 0xff</span>
        <span class="token property">&quot;mode&quot;</span><span class="token operator">:</span> <span class="token string">&quot;GSM&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 默认模式</span>
        <span class="token property">&quot;nodeId&quot;</span><span class="token operator">:</span> <span class="token string">&quot;861050040411756&quot;</span><span class="token punctuation">,</span> <span class="token comment">// IMEI，同“设备检测数据上报”的deviceid</span>
        <span class="token property">&quot;protocolVer&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span> <span class="token comment">// 协议版本号</span>
        <span class="token property">&quot;rssicsq&quot;</span><span class="token operator">:</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token comment">// 设备信号值</span>
        <span class="token property">&quot;startAddr&quot;</span><span class="token operator">:</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">// 开始地址</span>
        <span class="token property">&quot;totalLoop&quot;</span><span class="token operator">:</span> <span class="token number">1</span> <span class="token comment">// 回路总数</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br><span class="line-number">35</span><br><span class="line-number">36</span><br><span class="line-number">37</span><br><span class="line-number">38</span><br><span class="line-number">39</span><br><span class="line-number">40</span><br><span class="line-number">41</span><br><span class="line-number">42</span><br><span class="line-number">43</span><br><span class="line-number">44</span><br><span class="line-number">45</span><br><span class="line-number">46</span><br><span class="line-number">47</span><br><span class="line-number">48</span><br><span class="line-number">49</span><br><span class="line-number">50</span><br></div></div><h4 id="_1-1-3-返回结果"><a href="#_1-1-3-返回结果" class="header-anchor">#</a> 1.1.3. 返回结果</h4> <ul><li>成功</li></ul> <div class="language-json line-numbers-mode"><pre class="language-json"><code><span class="token punctuation">{</span>
    <span class="token property">&quot;code&quot;</span><span class="token operator">:</span> <span class="token string">&quot;0&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;data&quot;</span><span class="token operator">:</span> <span class="token null keyword">null</span><span class="token punctuation">,</span>
    <span class="token property">&quot;desc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;成功&quot;</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><ul><li>参数异常</li></ul> <div class="language-json line-numbers-mode"><pre class="language-json"><code><span class="token punctuation">{</span>
    <span class="token property">&quot;code&quot;</span><span class="token operator">:</span> <span class="token string">&quot;100002&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;data&quot;</span><span class="token operator">:</span> <span class="token null keyword">null</span><span class="token punctuation">,</span>
    <span class="token property">&quot;desc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;参数错误&quot;</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><ul><li>失败,其他异常</li></ul> <div class="language-json line-numbers-mode"><pre class="language-json"><code><span class="token punctuation">{</span>
    <span class="token property">&quot;code&quot;</span><span class="token operator">:</span> <span class="token string">&quot;-1&quot;</span><span class="token punctuation">,</span>
    <span class="token property">&quot;data&quot;</span><span class="token operator">:</span> <span class="token null keyword">null</span><span class="token punctuation">,</span>
    <span class="token property">&quot;desc&quot;</span><span class="token operator">:</span> <span class="token string">&quot;失败&quot;</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div></div> <footer class="page-edit"><!----> <!----></footer> <!----> <div class="bsa-cpc-wrapper"><div class="bsa-cpc"></div></div></main></div><div class="global-ui"><!----><!----></div></div>
    <script src="/wangwang-gas-doc/assets/js/app.144ee18f.js" defer></script><script src="/wangwang-gas-doc/assets/js/5.9fbe3708.js" defer></script><script src="/wangwang-gas-doc/assets/js/4.7b614c82.js" defer></script><script src="/wangwang-gas-doc/assets/js/25.d8607a32.js" defer></script><script src="/wangwang-gas-doc/assets/js/9.00085909.js" defer></script>
  </body>
</html>
